<template>
	<custom-nav-bar title="分类"></custom-nav-bar>
	<view class="classLayout pageBG">
		<view class="calssify">
			<theme-item v-for="item in classifyList"
			 :key="item_id"
			 :item="item"
			 >
			 </theme-item>
		</view>
	</view>
</template>

<script setup>
import {ref} from 'vue';
import{apiGetClassify} from "@/api/apis.js"
const classifyList  =ref([]);


const getClassify =async()=>{
	let res =await apiGetClassify({
		pageSize:15
	});
	classifyList.value = res.data
	console.log(res);
}

getClassify();
</script>

<style lang="scss" scoped>
.calssify{
	padding: 30rpx;
	display: grid;
	grid-template-columns: repeat(3,1fr);
}
</style>
